<%@ page import="java.util.List" %>
<%@ page import="java.util.ArrayList" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <title>Title</title>
</head>
<body>
    <%
        int a = 10;
        int b = 20;
        request.setAttribute("a",a);
        request.setAttribute("b",b);
    %>
    ${1+1}
    <hr/>
    ${a+b}

  <hr/>

    <%
        //String name = null;
        String name = "jack";
        request.setAttribute("name",name);

        List<String> list = new ArrayList<>();
        request.setAttribute("list",list);
    %>

    ${empty name}
    ${empty list}
</body>
</html>
